/*
 * @(#)IGenerator.java 1.0 2021年02月04日
 *
 *  Copyright (c) 2016, YUNXI. All rights reserved.
 *  YUNXI PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.jimmy.utils.swagger2markup.generate;

import java.net.MalformedURLException;
import java.util.List;

/**
 * <p>Title:IGenerator</p>
 * <p>Description: </p>
 *
 * @author 子曰
 * @date 2021-2-4 14:41
 * @since 0.1.0
 */
public interface IGenerator {
    /**
     * 生成到文件夹
     * @param folderPath
     */
    void generateToFolder(String folderPath) throws MalformedURLException;

    /**
     * 生成到文件
     * @param FilePath
     */
    void generateToFile(String url, String filePath) throws MalformedURLException;

    /**
     * 生成到文件
     * @param urlList
     * @param filePathList
     */
    void generateToFile(List<String> urlList, List<String> filePathList) throws MalformedURLException;
}
